package com.cmict.data.bpm.dal.mysql;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liutao
 * @date 2022/4/28
 */
@Mapper
@Repository
public interface FlowableHisActinstDao {
    /**
     * 删除节点信息
     *
     * @param ids ids
     */
    @Delete("<script>" +
            "delete from act_hi_actinst where ID_ in ("
            + "<foreach collection='ids' separator=',' item='id'>"
            + "#{id} "
            + "</foreach> "
            + ")</script>")
    public void deleteHisActinstsByIds(@Param("ids") List<String> ids);
}
